const express = require('express');

const app = express();

app.use(function(req, res, next) {
    const time = Date.now();
    req.startTime = time;
    next();
})

app.get('/', (req, res) => {
    res.send('Home Page' + req.startTime);
})

app.get('/user', (req, res) => {
    res.send('User Page' + req.startTime);
})

app.listen(80, function() {
    console.log('http://127.0.0.1');
})